package wxshop.dao.admin;

import org.apache.ibatis.annotations.Param;
import wxshop.api.admin.dao.SystemDao;
import wxshop.api.admin.model.*;

import java.util.List;

/**
 * Created by 121874694@qq.com on 2018/3/3.
 */
public interface SystemMapper extends SystemDao {
	
	@Override
	List<Admin> selectAdmin ();
	
	@Override
	List<Roles> selecAccessList ();
	
	@Override
	int updateAdminAccessById (@Param("id") int id,@Param("roleid") int roleid);
	
	@Override
	int deleteSysAdminById (Admin admin);
	
	@Override
	int insertPriceRules (PriceRules priceRules);
	
	@Override
	int updatePriceRules (PriceRules priceRules);
	
	@Override
	int deletePriceRulesById (PriceRules priceRules);
	
	@Override
	List<PriceRules> selectPriceRules ();
	
	@Override
	int insertLevelUpRules (LevelUpRules levelUpRules);
	
	@Override
	int updateLevelUpRulesById (LevelUpRules levelUpRules);
	
	@Override
	int deleteLevelUpRulesById (LevelUpRules levelUpRules);
	
	@Override
	List<LevelUpRules> selectLevelUpRules ();
}
